//
//  FrameManager.m
//  LingQian
//
//  Created by xieyingze on 2018/1/21.
//  Copyright © 2018年 xieyingze. All rights reserved.
//

#import "FrameManager.h"

@implementation FrameManager

+ (instancetype)shareInstance {
    static dispatch_once_t once;
    static id _instance;
    dispatch_once(&once, ^{
        _instance = [[self alloc] init];
    });
    return  _instance;
}

- (CGFloat)scale {
    if (kUI_is_Iphone6p) {
        return 1.1;
    } else if (kUI_is_Iphone6) {
        return 1.0;
    } else {
        return 0.85;
    }
}

@end
